﻿using Microsoft.EntityFrameworkCore;
using BasicModuleOrm.Model;

namespace BasicModuleOrm.Db_Context
{
    public class EfCoreContext : DbContext
    {
        public EfCoreContext(DbContextOptions options) : base(options) 
        {

        }


        /// <summary>
        /// 配置商品模型
        /// </summary>
        public DbSet<Product> Product { set; get; }
        public DbSet<User> User { set; get; }
    }
}
